package en.edu.scau.cmi.zhanzhiyong.carpter04;

public class JudgeAward {
	void giveMess(int number) {
		
		switch(number) {
		
			case 9:
			case 131:
			case 12:
					System.out.println(number+"is third prize");
					break;
			case 209:
			case 596:
			case 27:
				System.out.println(number+"is second prize");
				break;
			case 875:
			case 316:
			case 59:
				System.out.println(number+"is first prize");
				break;
			default: 
				System.out.println("Don't have any prize");
		}
	}
}
